package qnb._config;

import java.io.IOException;
import java.util.List;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import qnb.entity.Teacher;
import weixinkeji.vip.expand.poi.JWEOfficeWebTool;

public class ExcelDown {
	/**
	 * 
	 * @param req
	 * @param resp
	 * @throws ServletException
	 * @throws IOException
	 * 数据
	 */
	public static  void doOneSheetByWebTool(HttpServletRequest req, HttpServletResponse resp,List<Teacher> list)
			throws ServletException, IOException {
		JWEOfficeWebTool.downloadExcelFile(resp, list,"教师信息.xls", "教师信息列表", true);
	}
}
